 //覆盖一些element-ui样式
.el-dialog__header {
  text-align: left;
}

.el-button.el-button--primary {
  background: #4177ff;
  span{
    color: #fff !important;
  }
  &:focus{
    background: #4177ff;
  }
}
.el-upload-list.el-upload-list--text{
  float: none;
}

.c-btn{
  &.el-button{
    padding: 8px 17px;
  }
}

.upload-staff{
  .el-upload-list{
    display: block !important;
  }
}

.filter-box{
  width: 100%;
  background:rgba(243,243,243,1);
  border:1px solid rgba(224,224,224,1);
  height: 50px;
  line-height: 50px;
  .el-form--inline{
    .el-form-item{
      margin-left: 18px;
      margin-right: 0;
      margin-bottom: 0;
    }
    .el-form-item__label{
      float: left;
      line-height: 50px;
    }
    .el-form-item__content{
      height: 32px;
      width: 120px;
      vertical-align: middle;
      .el-input{
        line-height: initial;
        vertical-align: top;
      }
      .el-input__inner{
        height: 32px;
        line-height: 32px;
        padding: 0 8px;
      }
    }
  }
}

.c-table{
  &.el-table{
    overflow: inherit;
    .el-table--border{
      border-color: #e0e0e0;
    }
    th, td{
      text-align: center;
      padding: 10px 0;
      border-color: #e0e0e0;
      color: #555555;
    }
    th{
      font-weight: bold;
      background-color: #F3F3F3;
      border-color: #E0E0E0;
    }
    tr:hover{
      background:#F9FAFF;
      border: 1px solid rgba(218,228,253,1);
    }
    th.gutter{
      display: table-cell!important;
    }
    colgroup.gutter{
      display: table-cell!important;
    }
    .el-table__body-wrapper{
      overflow: inherit;
    }
  }
}

.el-upload-list{
  display: none !important;
}

.c-dialog{
  width: 460px !important;
  .el-dialog__header{
    padding-top: 15px;
    .el-dialog__title{
      position: relative;
      font-size: 16px;
    }
  }
  .el-dialog__headerbtn{
    top: 15px;
  }
  .el-dialog__body{
    padding: 15px 20px;
    // max-height: 200px;
    overflow: auto;
    .dialog-cont{
      p{
        margin: 6px 0;
      }
    }
  }
  .el-dialog__body{
    color: #333;
    span{
      color: #333;
    }
  }
  .el-dialog__footer{
    padding-top: 10px;
    text-align: center;
    .el-button+.el-button{
      margin-left: 40px;
    }
  }
}

.c-form{
  .el-form-item{
    // margin-bottom: 10px;
    .el-form-item__label{
      line-height: 34px;
      text-align: left;
    }
    .el-form-item__content{
      height: 34px;
      vertical-align: middle;
      .el-input{
        line-height: initial;
        vertical-align: top;
      }
      .el-input__inner{
        height: 34px;
        line-height: 34px;
      }
    }
  }
}

.pagination-wrapper{
  margin-top: 20px;
  .el-pagination{
    display: inline-block;
    .el-input__inner{
      height: 32px;
      line-height: 32px;
    }
    .page-tip{
      font-weight: 400;
    }
    .el-pagination__total{
      height: 32px;
      line-height: 32px;
    }
    .el-pagination__jump{
      visibility: hidden;
      margin-left: 0;
      width: 80px;
      position: relative;
      .el-pagination__editor{
        visibility: visible;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        .el-input__inner{
          border: none;
        }
      }
    }
  }
  .c-jumper{
    height:32px;
    border-radius:4px;
    line-height: 32px;
    font-size: 14px;
    width: 84px;
    .el-input__inner{
      height: 32px;
      line-height: 32px;
      padding: 0 10px;
      border: none;
      background-color: transparent;
    }
  }
  .page-num{
    background:rgba(255,255,255,1);
    border:1px solid rgba(240,240,240,1);
    border-radius:4px;
    margin-right: 10px;
    vertical-align: middle;
    .num{
      color: #555;
      font-weight: 400;
    }
  }
  .page-num,
  .page-jumper{
    display: inline-block;
  }
  .page-jumper{
    width:119px;
    height:32px;
    background:rgba(255,255,255,1);
    border:1px solid rgba(240,240,240,1);
    border-radius:4px;
    position: relative;
  }
  .to-page {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: #4177ff;
    cursor: pointer;
    display: inline-block;
    &:hover{
      background-color: #66B1FF;
    }
    .topage-con {
      text-align: center;
      color: #fff;
      line-height: 32px;
      padding-left: 10px;
    }
  }
}


.menu_container{
  z-index: 999;
  .el-menu{
    border-right: 0;
  }
  .el-submenu__title{
    max-width: 190px !important;
    width: 100% !important;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
  }
  .el-submenu{
    .el-menu-item{
      min-width: initial;
      max-width: 190px !important;
      width: 100%;
      height: 40px;
      line-height: 40px;
      padding-left: 32px !important;
    }
  }
}

.mx-select{
  width: 100%;
  &.el-select{
    display: block;
    .el-input__icon{
      line-height: 34px;
    }
  }
}

.upload-demo {
  position: relative;
  .el-upload-list.el-upload-list--text {
    position: absolute;
    top: 0;
    left: 100px;
  }
}